home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / BlockInput.au3 < prev    next >
Text File  |  2007-09-08  |  191b  |  10 lines

  1. If @OSVersion <> "WIN_98" And @OSVersion <> "WIN_ME" Then
  2.     BlockInput(1)
  3. EndIf
  4.  
  5. Run("notepad")
  6. WinWaitActive("Untitled - Notepad")
  7. Send("{F5}")  ;pastes time and date
  8.  
  9. BlockInput(0)
  10.